dataCateList = {
    "message": [
        {
            "cat_id": 1,
            "cat_name": "手机数码",
            "cat_pid": 0,
            "cat_level": 0,
            "cat_deleted": false,
            "cat_icon": "",
            "children": [
                {
                    "cat_id": 3,
                    "cat_name": "手机",
                    "cat_pid": 1,
                    "cat_level": 1,
                    "cat_deleted": false,
                    "cat_icon": "",
                    "children": [
                    {
                        "cat_id": 5,
                        "cat_name": "小米",
                        "cat_pid": 3,
                        "cat_level": 2,
                        "cat_deleted": false,
                        "cat_icon": "http://localhost:8080/imgcate/xiaomi.jpg"
                    },
                    {
                        "cat_id": 6,
                        "cat_name": "华为",
                        "cat_pid": 4,
                        "cat_level": 2,
                        "cat_deleted": false,
                        "cat_icon": "http://localhost:8080/imgcate/huawei.jpg"
                    },
                    {
                        "cat_id": 7,
                        "cat_name": "荣耀",
                        "cat_pid": 5,
                        "cat_level": 2,
                        "cat_deleted": false,
                        "cat_icon": "http://localhost:8080/imgcate/rongyao.jpg"
                    },
                    {
                        "cat_id": 8,
                        "cat_name": "iPhone",
                        "cat_pid": 6,
                        "cat_level": 2,
                        "cat_deleted": false,
                        "cat_icon": "http://localhost:8080/imgcate/pingguo.jpg"
                    }
                ]
                    
                }
            ]
        },
        {
            "cat_id": 9,
            "cat_name": "家用电器",
            "cat_pid": 0,
            "cat_level": 0,
            "cat_deleted": false,
            "cat_icon": "",
            "children": [
                {
                    "cat_id": 10,
                    "cat_name": "厨房小电",
                    "cat_pid": 1,
                    "cat_level": 1,
                    "cat_deleted": false,
                    "cat_icon": "",
                    "children": [
                    {
                        "cat_id": 11,
                        "cat_name": "电压力锅",
                        "cat_pid": 3,
                        "cat_level": 2,
                        "cat_deleted": false,
                        "cat_icon": "http://localhost:8080/imgcate/dianyaliguo.jpg"
                    },
                    {
                        "cat_id": 12,
                        "cat_name": "电饭煲",
                        "cat_pid": 4,
                        "cat_level": 2,
                        "cat_deleted": false,
                        "cat_icon": "http://localhost:8080/imgcate/dianfanbao.jpg"
                    },
                    {
                        "cat_id": 13,
                        "cat_name": "电磁炉",
                        "cat_pid": 5,
                        "cat_level": 2,
                        "cat_deleted": false,
                        "cat_icon": "http://localhost:8080/imgcate/diancilu.jpg"
                    },
                    {
                        "cat_id": 14,
                        "cat_name": "热水壶",
                        "cat_pid": 6,
                        "cat_level": 2,
                        "cat_deleted": false,
                        "cat_icon": "http://localhost:8080/imgcate/reshuihu.jpg"
                    }
                ]
                    
                }
            ]
        },
        {
            "cat_id": 15,
            "cat_name": "电脑办公",
            "cat_pid": 0,
            "cat_level": 0,
            "cat_deleted": false,
            "cat_icon": "",
            "children": [
                {
                    "cat_id": 16,
                    "cat_name": "热卖分类",
                    "cat_pid": 1,
                    "cat_level": 1,
                    "cat_deleted": false,
                    "cat_icon": "",
                    "children": [
                    {
                        "cat_id": 17,
                        "cat_name": "轻薄本",
                        "cat_pid": 3,
                        "cat_level": 2,
                        "cat_deleted": false,
                        "cat_icon": "http://localhost:8080/imgcate/qingboben.jpg"
                    },
                    {
                        "cat_id": 18,
                        "cat_name": "游戏本",
                        "cat_pid": 4,
                        "cat_level": 2,
                        "cat_deleted": false,
                        "cat_icon": "http://localhost:8080/imgcate/youxiben.jpg"
                    },
                    {
                        "cat_id": 19,
                        "cat_name": "显示器",
                        "cat_pid": 5,
                        "cat_level": 2,
                        "cat_deleted": false,
                        "cat_icon": "http://localhost:8080/imgcate/xianshiqi.jpg"
                    },
                    {
                        "cat_id": 20,
                        "cat_name": "硬盘",
                        "cat_pid": 6,
                        "cat_level": 2,
                        "cat_deleted": false,
                        "cat_icon": "http://localhost:8080/imgcate/yingpan.jpg"
                    }
                ]
                    
                }
            ]
        },
    ],


    "meta": {
        "msg": "获取成功",
        "status": 200
    }

}

exports.catelist = (req, res) => {
    res.send(dataCateList)
}